import { initShaders } from './gllib';
import { vertexSHADER, fragmentSHADER } from './shader_Vertex.js'
import Config from './mapConfig';

// 继承L.Layer实现自定义图层
L.GridLayer = L.Layer.extend({
  options: {
    zindex: 0,
    opacity: 1,
    type: 'wave', //wind wave rwave
    showLabel: false,
    minval: 0.2,
    scalarColor: null, //色带配置
    labelCell: 64, //label显示密度
    magnification: 1, //放大倍率
  },
  initialize: (options: object) => {
    L.setOptions(this, options);
  },
  onAdd: (map) => {

  }

})